###
 # @Author: ZhangZiyan 1920548152@qq.com
 # @Date: 2023-12-08 19:35:58
 # @LastEditors: ZhangZiyan 1920548152@qq.com
 # @LastEditTime: 2023-12-09 15:48:12
 # @FilePath: /zj-compiled/copy_to_install_kernel.sh
 # @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
### 

# 定义内核版本号
KERNEL_VERSION="4.14.78+"

# 复制内核映像文件, System.map文件, 配置文件, 内核模块
sudo cp /boot/vmlinuz-$KERNEL_VERSION ./
sudo cp /boot/initrd.img-$KERNEL_VERSION ./
sudo cp /boot/System.map-$KERNEL_VERSION ./
sudo cp /boot/config-$KERNEL_VERSION ./
sudo cp -r /lib/modules/$KERNEL_VERSION ./
